package com.woniu.bank.service.impl;

import com.github.pagehelper.PageHelper;
import com.woniu.bank.dto.NewClientfoDTO;
import com.woniu.bank.dto.RatedDTO;
import com.woniu.bank.entity.ClientInfoSheet;
import com.woniu.bank.mapper.ClientInfoSheetMapper;
import com.woniu.bank.service.ClientInfoSheetService;
import com.woniu.bank.vo.RatedVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：zhulongxing
 * @date ：Created in 2023/1/4 18:43
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class ClientInfoSheetServiceImpl implements ClientInfoSheetService {

    @Autowired
    private ClientInfoSheetMapper clientInfoSheetMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(ClientInfoSheet record) {
        return 0;
    }

    @Override
    public int insertSelective(ClientInfoSheet record) {
        return 0;
    }

    @Override
    public ClientInfoSheet selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(ClientInfoSheet record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(ClientInfoSheet record) {
        return 0;
    }

    @Override
    public List<RatedVO> selectAdd(RatedDTO record) {
        PageHelper.startPage(record.getCurrentPage(),record.getPageSize());
        return clientInfoSheetMapper.selectAdd(record);
    }
}
